package com.sdut.encryption.service.imp;

import com.sdut.encryption.dao.MangerDao;
import com.sdut.encryption.pojo.Manager;
import com.sdut.encryption.service.ManagerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ManagerServiceImp implements ManagerService {
    @Autowired
    MangerDao mangerDao;
    @Override
    public Manager findOne(String code, String pass) {
        return mangerDao.selectOne(code, pass);
    }
}
